home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / amitcp / amitcp-src-22.lha / AmiTCP-2.2 / src / appl / napsaterm / nio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-12  |  1.5 KB  |  64 lines

  1. /* $Id: nio.h,v 1.4 1993/08/12 06:19:13 jraja Exp $
  2.  *
  3.  * nio.h --- nifty IO definitions
  4.  *
  5.  * Author: ppessi <Pekka.Pessi@hut.fi>
  6.  *
  7.  * Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  8.  *                    Helsinki University of Technology, Finland.
  9.  *                    All rights reserved.
  10.  *
  11.  * Created      : Tue May 18 15:05:14 1993 ppessi
  12.  * Last modified: Thu Aug 12 09:18:39 1993 jraja
  13.  *
  14.  * $Log: nio.h,v $
  15.  * Revision 1.4  1993/08/12  06:19:13  jraja
  16.  * Updated the email-address.
  17.  *
  18.  * Revision 1.3  1993/07/12  23:02:09  ppessi
  19.  * Version 2.0 changes.
  20.  *
  21.  * Revision 1.2  93/05/27  03:23:47  ppessi
  22.  * USE_* is moved to the Smakefile
  23.  * 
  24.  * Revision 1.1  93/05/19  17:30:51  ppessi
  25.  * Initial revision
  26.  * 
  27.  */
  28.  
  29. #if USE_SERIAL
  30. #include <devices/serial.h>
  31. #endif
  32.  
  33. #if USE_DNET
  34. #include <local/typedefs.h>
  35. #define DeadKeyConvert do_not_use_DeadKeyConvert 
  36. #include <local/suplib_protos.h>
  37. #undef DeadKeyConvert
  38. #include <dnet/channel.h>
  39. #include <lib/dnetlib.h>
  40. #include <server/servers.h>
  41. #else
  42. /* CIO_ is DNET specific IO Command code 
  43.  * - we need these also for other devices */
  44. #define CHANN long 
  45. #define CIO_FLUSH       1002
  46. #endif
  47. #define CIO_BREAK       1001
  48.  
  49. #if USE_RLOGIN
  50. #define BSDSOCKET_H
  51. #include <sys/param.h>
  52. #include <sys/socket.h>
  53. #include <sys/ioctl.h>
  54. #include <netinet/in.h>
  55. #include <netdb.h>
  56. #include <arpa/inet.h>
  57. #include <netinet/in_systm.h>
  58. #include <netinet/ip.h>
  59. #include <errno.h>
  60. #include "rlogin.h"
  61. #define ioctl IoctlSocket
  62. #endif
  63.  
  64.